package cn.dy.workatten.pojo;

import java.io.Serializable;
import java.util.Date;

/**
 * @author Lucky bz_auditing_flow表对象
 *
 */
public class AuditingFlow implements Serializable {

	private static final long serialVersionUID = 918511763655774344L;

	private long id; // id
	private String flow_type; // 审批流程类型1请假流程2考勤流程3工资流程4加值班补贴流程
	private String flow_sts; // 流程状态0审核中1结束2作废
	private long application_id; // 申请业务数据ID
	private Date create_time; // 创建时间
	private long create_id; // 创建者id
	private long cur_detail_id; // 当前环节ID

	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public String getFlow_type() {
		return flow_type;
	}

	public void setFlow_type(String flow_type) {
		this.flow_type = flow_type;
	}

	public String getFlow_sts() {
		return flow_sts;
	}

	public void setFlow_sts(String flow_sts) {
		this.flow_sts = flow_sts;
	}

	public long getApplication_id() {
		return application_id;
	}

	public void setApplication_id(long application_id) {
		this.application_id = application_id;
	}

	public Date getCreate_time() {
		return create_time;
	}

	public void setCreate_time(Date create_time) {
		this.create_time = create_time;
	}

	public long getCreate_id() {
		return create_id;
	}

	public void setCreate_id(long create_id) {
		this.create_id = create_id;
	}

	public long getCur_detail_id() {
		return cur_detail_id;
	}

	public void setCur_detail_id(long cur_detail_id) {
		this.cur_detail_id = cur_detail_id;
	}

	@Override
	public String toString() {
		return "AuditingFlow [id=" + id + ", flow_type=" + flow_type + ", flow_sts=" + flow_sts + ", application_id="
				+ application_id + ", create_time=" + create_time + ", create_id=" + create_id + ", cur_detail_id="
				+ cur_detail_id + "]";
	}

	public static class FlowSts {
		public static Integer Auditing = Integer.valueOf(0);
		public static Integer Over = Integer.valueOf(1);
		public static Integer Invalid = Integer.valueOf(2);
	}

}
